<?
#####################################################
#  COPYRIGHT NOTICE
#####################################################
# In the following statements, the term "this 
# program" refers to all files associated with the
# execution and distribution of Adtrackz.
#
# This Program is Copyright 2004 Jonah Klimack.
# All Rights Reserved. 
#
# Selling the code for this program, modifying 
# and/or redistributing the code for this program
# in part or in whole over the Internet or in any 
# other medium is expressly forbidden. Violators
# will be prosecuted to the fullest extent of the law
# Copyright and header information may not be
# modified.
#
# This program is distributed "as is" and without 
# warranty of any kind, either express or implied.
# In no event shall the liability of Jonah Klimack 
# for any damages, losses and/or causes of 
# action exceed the total amount paid by the 
# user for this software.		
#####################################################
# DO NOT MODIFY ANYTHING IN THIS FILE
#####################################################


require "header.php";

//display detailed stats

?>
<p class="small" align="left">
Campaigns > Detailed Stats
</p>

<p class="heading">Detailed Statistics</p>
<br><br>
<table width="500" border="0" cellspacing="0" cellpadding="5" align="center" bgcolor="white"  bordercolor="white">
<tr>
	<td>Select a campaign to view it's detailed statistics.</td>
	<td>
		<form action="dstats-summary.php" method="post">
		<select name="cID">
		<?
		$campaigns = mysql_query("select * from adtrackz_campaigns order by adcode asc");
		while($campaign = mysql_fetch_row($campaigns))
			echo "<option value=\"$campaign[0]\">$campaign[2]</option>";
		?>
		</select>
	</td>
</tr>
<tr>
	<td colspan="2" align="center">
		<br><br><input type="submit" value="View Detailed Stats" name="submit"  >
	</td>
</tr>
</table>
<input type="hidden" name="sub" value="all">
</form>

<?

require "footer.php";

?>